﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptManager.Data.Domain.Entities
{
    public class Script
    {
        public virtual int ID { get; set; }
        public virtual string Name { get; set; }
        public virtual string Fund { get; set; }
        public virtual string ShortDescription { get; set; }
        public virtual IList<ScriptRevision> ScriptRevisions { get; set; }

        static public Script New(string name, string fund, string shortDescription)
        {
            Script script = new Script();
            script.Name = name;
            script.Fund = fund;
            script.ShortDescription = shortDescription;

            return script;
        }
    }
}
